/**
 * 
 */
package org.cuatrovientos.matrix;
import java.util.Random;

/**
 * @author daniel_ancin
 * Show how to define and use
 */
public class Matrix { 

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		
		int[] numbers =new int [10];
		//int[][] matrix =new int [5][3];
		
		int[][] matrix ={{3,5,6},{0,6,6},{4,3,3},{1,1,1},{4,5,6}};
		Random random = new Random();
		
		
		
		for (int i=0;i<matrix.length; i++){
			for (int j=0; j<matrix[i].length ;j++) {
				matrix[i][j] = random.nextInt(10);
			
			}
		}
		//show matrix on console
		
		for (int i=0;i<matrix.length; i++){
			for (int j=0; j<matrix[i].length ;j++) {
				System.out.print(matrix[i][j] + " ");
         	}
            System.out.println("");
		}
	
	}
	
}	
	
	
